-- GENERATED SPELL FOR [Gorishi Worker] --


function spell0_6552(pUnit, Event) --@Silithid Pox,n/a--
pUnit:FullCastSpellOnTarget(8137,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6552', 2000, 1)
end

function Sorts_6552(pUnit, Event)
local choix_sorts_6552 = math.random(0, 0)
if choix_sorts_6552 == 0 then
pUnit:RegisterEvent('spell0_6552', 1, 1)
end
end

function mob6552_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6552', math.random(1500, 3000), 1)
end

function mob6552_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6552_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6552_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6552, 1, 'mob6552_Action')
RegisterUnitEvent(6552, 2, 'mob6552_Leave')
RegisterUnitEvent(6552, 3, 'mob6552_Kill')
RegisterUnitEvent(6552, 4, 'mob6552_Die')
